package pratica2;

import java.util.ArrayList;

public class Pedido {
	
	private final int  ID;
	private String name;
	private Date date;
	private ArrayList<Item> itemList;

	public Pedido(int iD, String nome, Date date, ArrayList<Item> listaItems) {
		super();
		ID = iD;
		this.name = nome;
		this.date = date;
		this.itemList = listaItems;

	}

	public String toString(){
		return name+ID + date;
	}
}
